package com.yf.dxapp.module.app.controller.admin.material.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 素材信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MaterialPageReqVO extends PageParam {

    @Schema(description = "商品标题")
    private String title;

    @Schema(description = "商品分类", example = "17498")
    private Long productId;

    @Schema(description = "内部产品分类", example = "2")
    private Integer productType;

    @Schema(description = "IMG-商品主图")
    private String cover;

    @Schema(description = "轮播图urls", example = "https://www.iocoder.cn")
    private String coverImgMaterialUrl;

    @Schema(description = "商品链接（普通计划链接）")
    private String simpleTitle;

    @Schema(description = "商品链接（普通计划链接）", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "推广文案")
    private String promotion;

    @Schema(description = "视频链接", example = "https://www.iocoder.cn")
    private String videoUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}